import request from "@/utils/request";

// 系统推送消息列表
export function sysMsgListOfWeb(data) {
  return request({
    url: "/chronicdisease/webDoctor/sysMsgListOfWeb",
    method: "post",
    data: data,
  });
}
//系统推送消息-修改为已读
export function updateSysMsgReadOfWeb(data) {
  return request({
    url: "/chronicdisease/webDoctor/updateSysMsgReadOfWeb",
    method: "post",
    data: data,
  });
}
//患者提醒/患者关怀-列表 type：0：全部；1未上传提醒（血压测量）；2医生关怀/患者关怀；3日常护理/患者提醒；4.异常数据
export function remindList(data) {
  return request({
    url: "/chronicdisease/doctor/remindList",
    method: "post",
    data: data,
  });
}

//患者关怀-常见原因下拉
export function careReasonListOfWeb(data) {
  return request({
    url: "/chronicdisease/webDoctor/careReasonListOfWeb",
    method: "post",
    data: data,
  });
}

//患者关怀-处理
export function handleCareMsgOfWeb(data) {
  return request({
    url: "/chronicdisease/webDoctor/handleCareMsgOfWeb",
    method: "post",
    data: data,
  });
}
//患者提醒-新增-抄送紧急联系人下拉查询
export function listFamilyOfWeb(data) {
  return request({
    url: "/chronicdisease/webDoctor/listFamilyOfWeb",
    method: "post",
    data: data,
  });
}

//患者提醒-新增-常用语下拉查询
export function remindWordsListOfWeb(data) {
  return request({
    url: "/chronicdisease/webDoctor/remindWordsListOfWeb",
    method: "post",
    data: data,
  });
}

//患者提醒-新增
export function addRemindOfWeb(data) {
  return request({
    url: "/chronicdisease/webDoctor/addRemindOfWeb",
    method: "post",
    data: data,
  });
}

//患者提醒-批量新增
export function addRemindBatchOfWeb(data) {
  return request({
    url: "/chronicdisease/webDoctor/addRemindBatchOfWeb",
    method: "post",
    data: data,
  });
}
